[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
RE: data vs. xml
Subject: RE: data vs. xml
From: "bix xslt" <bix_xslt@xxxxxxxxxxx>
Date: Thu, 03 Apr 2003 17:54:08 +0000
|
Tom,
This is quite simple, I have a node element, and everything within the node
should be considered CDATA. I want to ensure that the xslt processor does
not interpret that information as XML elements.
Thanks,
bix
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: data vs. xml
Date: Thu, 3 Apr 2003 12:32:34 -0500
[bix xslt]All,
>
> Is there a way to identify a node as containing cdata?
>
> eg.
> <node>
> <dataNotNewXMLTag1, dataVala, dataValb, moreData, ...>
> <dataNotNewXMLTag2, dataVala, dataValb, moreData, ...>
> <dataNotNewXMLTag3, dataVala, dataValb, moreData, ...>
> <dataNotNewXMLTag4, dataVala, dataValb, moreData, ...>
> <dataNotNewXMLTag5, dataVala, dataValb, moreData, ...>
> </node>
>
> I want to write a simple xsl script that would translate the
> above into
> something more manageable for XSLT processing:
>
> eg.
> <node>
> <dataNotNewXMLTag1, dataVala, dataValb, moreData, ...>
> <dataNotNewXMLTag2, dataVala, dataValb, moreData, ...>
> <dataNotNewXMLTag3, dataVala, dataValb, moreData, ...>
> <dataNotNewXMLTag4, dataVala, dataValb, moreData, ...>
> <dataNotNewXMLTag5, dataVala, dataValb, moreData, ...>
> </node>
>
You had better explain more about what you really want to do. If you
simply want to not process those elements, that is easy (assuming that
they really are in xml, unlike what you wrote above). If they are not
well-formed xml, and they are not escaped, then your stylesheet will
never get to see them.
Also, what do you mean "more manageable for XSLT processing"? That
depends on __what__ processing you have in mind.
As it stands, your question is unintelligble and will require anyone who
tries to answer it to make a lot of assumptions that will probably not
match what you are thinking of.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
- data vs. xml
- bix xslt - Thu, 3 Apr 2003 12:10:44 -0500 (EST)
- <Possible follow-ups>
- Passin, Tom - Thu, 3 Apr 2003 12:28:56 -0500 (EST)
- Avula, Raj - Thu, 3 Apr 2003 12:40:07 -0500 (EST)
- bix xslt - Thu, 3 Apr 2003 12:50:30 -0500 (EST) <=
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|