• You are not logged in. | Login

Post a reply

December 12, 2006 12:37 pm

admin
Administrator
Administrator

Discuss article: "XML + XSLT transformation with the help of Sablotron

I suggest to discuss article "XML + XSLT transformation with the help of Sablotron"

Discussed article: "XML + XSLT transformation with the help of Sablotron"


 

 

April 4, 2007 12:30 pm

napkdd1
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

Not bad but it’s better not to cut off examples in order to evade trouble with Drag&Drop.
XML is going to become really powerful.

The article is interesting but there are some questions.
We have HTML and are eager to do correct XSL from it. But it’s very complicated to do this by hand. Are there any solutions?


 

 

April 4, 2007 1:04 pm

monkeydude
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

Sure, there are some. Browsers identify HTML-code which is not correct enough after all. I only don’t know how much resources it will take.


 

 

April 4, 2007 1:29 pm

R@mzess
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

I didn’t understand the last example with magic templates completely. Attribute select isn’t present in xsl:template after all.
I’ve tried it but didn’t succeed sad


 

 

April 4, 2007 1:39 pm

monkeydude
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

It is not select but match. Read documentation. You can use xsl:template without match by declaring name. And write in details what your parser says…


 

 

April 4, 2007 1:47 pm

bandlist12
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron



$xmlData = '&lt;?xml version="1.0"<br/>encoding="windows-1251"?&gt;


It should be:

$xmlData = '&lt;?xml version="1.0" encoding="windows-1251"?&gt;

?


 

 

April 4, 2007 2:02 pm

tucansam
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

Does XML+XSLT overloads server? Anyway ‘direct’ data insertion into template (from the data base) will be faster. How much is XML+XSLT slower?


 

 

April 4, 2007 2:15 pm

Mr.SMart
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

You are not quite right. For example, you publish a newspaper in the net… You are going to have great trouble with base!!! On the other hand you are only to compose an issue and handle it with XSLT…


 

 

April 4, 2007 2:22 pm

Stre@m
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

Another advice. Don't make your templates too complicated. Keep to the KISS system which means 'Keep it simple, sweety'. It will be much better for the others.

Respectfully yours.


 

 

April 4, 2007 2:32 pm

mmwfan
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

I’ve had a lot of trouble with your ‘Working template of the same type’. Sablotron kept displaying invalid document alert. It proved out that string
<designer>Geoff Crammond & Simergy</designer>
Should look like:
<designer>Geoff Crammond &amp; Simergy</designer>
In such a case everything functions  smile


 

 

April 4, 2007 2:45 pm

mastaweb99
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

If I had found this article a couple of months earlier, I would be extremely grateful to the author. Now having made similar conclusions on my own I thank the author for interesting ideas and borrow some things. It’s a pity that there is nothing concerning parameters’ transmission here.


 

 

April 4, 2007 2:52 pm

cplusplus
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

It's an interesting article but windows-1251 encoding isn't supported in XML


 

 

April 5, 2007 6:56 am

Conker
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

cplusplus, I don't know about Sablotron but it is supported perfectly in the Microsoft parser Win-1251. Here are the headers:

&lt;?xml version="1.0" encoding="windowS-1251"?&gt;- both in XML and XSLT.

<xsl:output method="html" indent="yes" encoding="windows-1251" media-type="text/html; charset=windows-1251" />


 

 

April 5, 2007 7:04 am

sam43inwood
Member
Ranks

Re: Discuss article: "XML + XSLT transformation with the help of Sablotron

It would be not bad to replace <designer>Geoff Crammond & Simergy</designer> in the first example with <designer>Geoff Crammond &amp; Simergy</designer> cause there are some bugs  smile


 

 
  • Actions
  • Top
ITCrimea. Ukraine Web Development Company. Professional Developers and Web Designers Team
Custom Web Designs, Internet Applications, E-Commerce Websites, Interactive Sites, Database-Driven Sites and Services