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:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 5:22 PM
To: [EMAIL PROTECTED]
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.



Reply via email to