[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Apologies and 2 questions
Hi Nate, As a book for XSL I highly recommend "XSLT 2nd Edition Programmer's Reference" by Michael Kay ISBN 1-861005-06-7 (and not only because he's a member of this forum and answers lots of questions ;-)) As a newbie I liked the site http://www.w3schools.com/ a lot with their hands-on-tutorials for nearly everything Question 1: I think in a sectiontext-template a <xsl:copy-of select="."/> should work. Question 2: I don't follow you here, because if there is HTML in your XML, it already has to be well-formed to have a well-formed XML. This is not well-formed XML: <root> <p>text<br>more text</p> </root> So you have to explain your problem to us. Greetings Rene { @ @ } ^ \__/ "You don't need eyes to see, you need vision!" -----Oorspronkelijk bericht----- Van: Nathan Shaw [SMTP:n8_shaw@xxxxxxxxx] Verzonden: vrijdag 20 juli 2001 16:14 Aan: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Onderwerp: Apologies and 2 questions First off, I apologize if I offended people by asking that replies to my previous queries go directly to me as I am a digester. Some people took it upon themselves to tell me that it is not polite. I really wish I could be a regular subscriber, but XML/XSL is only part of my required skillset. It is only a small part right now. I also have to keep up with XHTML, Java, CF, Javascript, SQL, etc... I simply don't have time to read every message that comes in, as I am already a member of 4 other high-traffic lists. Getting the XSL digest affords me the ability to scan and learn when I can find some free time. So, if you think what I did was rude, I apologize. Secondly, I have 2 questions. Please pardon me, as I know they are newbie questions... (As an aside, if anyone has a good reference, be it book, web site, etc... for XSLT/XML/DTD's, I would love to know about it. Perhaps then I would not have to bother the list with such banal questions. But, I am finding good info on XSLT/DTD's rather hard to come by) 1) I have an XML document that can contain HTML within an element. i.e. <section> <sectiontext>This is <a href="http://www.yahoo.com">section <b>text</b></a></sectiontext> </section> What needs to be done in the DTD and/or XSL to make this work? Right now, I have the sectiontext element defined as PCDATA, so it is barfing when HTML is in there. 2) I am using the XHTML Transitional Doctype on all of the outputted content, so I need to have all standalone tags closed (<br />, <hr />). How do make the XSL output the end slash to make all of my output XHTML compliant? TIA, <shirk> *I am a digester and would appreciate a direct response (n8_shaw@xxxxxxxxx). Please do not be offended :> </shirk> Nate ===== ---------------------------- Nathan Shaw Web Applications Developer iaffect http://www.iaffectonline.com http://www.iaffectTV.com ---------------------------- __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|