space in XSLT
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Wed Jan 26, 2005 1:10 pm
space in XSLT
I use to show XML files using XSLT stylesheets. To do this, at the begin I used the instruction
<?xml-stylesheet type="text/xsl" href="http://www.......xslt"?>
To mantain "spaces" in the result, I used   (corresponding to in HTNL).
Now I have to merge the XML and XSLT files al server level, using in ASP the instruction:
Response.Write(objXML.transformNode(objXSL))
All works fine, but the character corresponding to   is "?".
What is the code to use, to show spaces in a resulting page?
Hoping to be clear, and hoping someone can help.
Tnx
Gianfranco
<?xml-stylesheet type="text/xsl" href="http://www.......xslt"?>
To mantain "spaces" in the result, I used   (corresponding to in HTNL).
Now I have to merge the XML and XSLT files al server level, using in ASP the instruction:
Response.Write(objXML.transformNode(objXSL))
All works fine, but the character corresponding to   is "?".
What is the code to use, to show spaces in a resulting page?
Hoping to be clear, and hoping someone can help.
Tnx
Gianfranco
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Is this what you're looking for?
That's the "escaped" version of the space character:
Code: Select all
 
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service