This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem XML Situation


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've been trying to figure out how to solve a particular problem I'm
having, but for now I'm stuck. Any ideas guys?

The situation is this: My site uses Newspro for its daily site news
feature. Newspro outputs a snippet of html including the news pieces
as a .txt file. Normally, you would simply include this file into
your html file with SSI. Here are my problems:

- - I'm writing the articles featured on my site in pure XML/XSLT
- - My hosting service doesn't parse XML files for SSI
- - There are certain parts of the site's layout that I want to be
visible on every page (link lists, menus, etc), and I was planning on
doing this using multi-source XSLT
- - The document() XSLT function requires a valid XML document, which
this .txt snippet is not
- - If I rename the page needing SSI to have a .html extension while
still remaining an XML file, the SSI works
- - However using <xsl:value-of> to display this snippet displays only
the text, not all the related markup in the .txt file (divs, anchors,
etc)
- - If I make the page featuring the news HMTL and the rest XML, to
change menu items I'd have to edit two files instead of one (the HTML
file and the XML menu file called by its XSLT stylesheet)

If any of that made sense.... does anybody have any suggestions?

The page in question is http://www.ballsome.com/test/index.html
(xhtml version)

- -joeljkp

- ---------------------------------------
http://www.ballsome.com 

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPQPc93880CLOJa2eEQItBACg1g3VWNodRfyno8PpuGQb193dWnoAn1x9
BFDWjVD8l7OU2t99LqjfLffc
=WCE0
-----END PGP SIGNATURE-----



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]