You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Joe Sytniak <jo...@usol.com> on 2002/03/19 00:21:59 UTC
Colon character problematic in ??
All -
I am using ADO to produce XML. This tends to get created as such:
<?xml-stylesheet type="text/xsl"?>
<xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
<s:Schema id="RowsetSchema">
..... clipped schema elements
</s:Schema>
<rs:data>
<z:row atributes go here></z:row>
</rs:data>
I am able to create XSL for normal transformations to HTML just fine. But in
order to get XSLFO to work, I must change the names of the 'rs:data' and
'z:row' nodes to something that does not contain a colon charater (ie.
rs-data & z-row). This seems to indicate that it is the colon character that
is causing the problem. Not sure if it could be anything else. I suppose I
could copy nodes to another more friendly node, but it seems that this
should not be necessary.
Anyone have a better way of dealing with this?
TIA
Joe Sytniak
Phase Forward, Inc.
RE: Colon character problematic in ??
Posted by Marylynne Henry <ml...@swbell.net>.
Similarly, I am having problems with the '&' character. Is there a way to
escape this character when it appears in the text?
Thank you
Marylynne Henry
-----Original Message-----
From: Joe Sytniak [mailto:joe@usol.com]
Sent: Monday, March 18, 2002 5:22 PM
To: fop-dev@xml.apache.org
Subject: Colon character problematic in <xsl:template
match="StringContainingColon"> ??
All -
I am using ADO to produce XML. This tends to get created as such:
<?xml-stylesheet type="text/xsl"?>
<xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema">
<s:Schema id="RowsetSchema">
..... clipped schema elements
</s:Schema>
<rs:data>
<z:row atributes go here></z:row>
</rs:data>
I am able to create XSL for normal transformations to HTML just fine. But
in
order to get XSLFO to work, I must change the names of the 'rs:data' and
'z:row' nodes to something that does not contain a colon charater (ie.
rs-data & z-row). This seems to indicate that it is the colon character
that
is causing the problem. Not sure if it could be anything else. I suppose I
could copy nodes to another more friendly node, but it seems that this
should not be necessary.
Anyone have a better way of dealing with this?
TIA
Joe Sytniak
Phase Forward, Inc.