SGMLXML.net A place for SGML and XML application developers.

March 11, 2005

provisional-distance-between-starts

Filed under: XSL — @ 2:01 pm






 A common mistake is to put provisional-distance-between-starts on the fo:list-item element instead of the fo:list-block element.

fo:leader

Filed under: XSL — @ 2:01 pm





 A good way to add seperators and dots to a line on a page.

 

Comparing CSS and XSL: A Reply from Norm Walsh

Filed under: XSL — @ 2:01 pm





 http://www.xml.com/pub/a/2005/02/09/cssorxsl.html

 Interesting debate. Like Norm I’d prefer an XML expression of CSS.


 


 

Date/Time Processing Package for XSLT

Filed under: XSLT — @ 1:56 pm







This module provides templates for formatting and parsing date/time strings:


http://xsltsl.sourceforge.net/date-time.html


 

Example of XSLT document() function to create a lookup table

Filed under: XSLT — cangione @ 1:56 pm




 This technique can be used to add metadata to incoming source documents.< ?xml:namespace prefix = o />

 Source:

<![CDATA[

<?xml version="1.0" encoding="UTF-8"?>

<mydoc>

            <title>Introduction</title>

            <title>Introduction2</title>

            <title>Bogus</title>

</mydoc>

]]>

 Stylesheet:

<![CDATA[

<?xml version="1.0" encoding="UTF-8"?>

<xsl:transform   version="1.0"

                        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

                        xmlns:book="books.uri"

                        exclude-result-prefixes="book">

            <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> 

<xsl:template match="/">

            <xsl:apply-templates/>

</xsl:template>

<xsl:template match="mydoc">

            <xsl:apply-templates/>

</xsl:template>           

<xsl:template match="title">

            <xsl:value-of select="document('')/*/book:category[@desc=current()]/@code"/>

</xsl:template>

<book:category code="1" desc="Introduction"/>

<book:category code="1" desc="Introduction2"/>

<book:category code="2" desc="Bogus"/> 

</xsl:transform>

]]>

 

 

Evaluating an XPATH expression using Epic Editor

Filed under: XSLT — @ 1:56 pm







To evaluate an xpath expression within Epic, open a document, position the cursor in the proper context, and type in the following function at the command line:


oid_xpath_string(oid, expr);


For Example:



eval oid_xpath_string(oid_caret(),"child::*[local-name()='title']")

Structured FrameMaker Review

Filed under: XML — @ 1:51 pm






 Review of Structured FrameMaker:

 http://www.getnet.net/~swhitlat/DocBook/Frame_Project_Readme.html

Binary XML Article

Filed under: XML — @ 1:51 pm






 Article on the Pros and Cons of Binary XML to speed up XML Data transmission.

 http://news.com.com/Putting+XML+in+the+fast+lane/2100-7345_3-5534249.html

Character Model for the World Wide Web 1.0: Fundamentals

Filed under: XML — @ 1:51 pm






The World Wide Web Consortium released "Character Model for the World Wide Web 1.0":

 

Fundamentals" as a W3C Recommendation. The document allows Web applications to transmit and process the characters of the world's languages. Building on the Universal Character Set defined by Unicode and ISO/IEC 10646, it gives authors of specifications, software developers, and content developers a common reference for text manipulation.

http://www.w3.org/TR/2005/REC-charmod-20050215/

XML Standards Library 2.1

Filed under: XML — @ 1:51 pm






 HTML Help Topics.
 XML Standards Library 2.1 : Updated 2005-01-27
===================================================
Download at http://xmlstds.xemantics.com/

DocBook mediaobject Information

Filed under: XML — @ 1:51 pm






 Provides information about the DocBook Construct.

The Inmates Are Running the Asylum

Filed under: Books — @ 1:20 pm






 I’m currently reading “The Inmates are Running the Asylum” by Alan Cooper. Alan was one of the original developers of the “Paper Port” software program. Of all the windows programs I’ve used it truly was the easiest to use. You stuck a piece of paper into the scanner and it produced a scanned image, already named, into the programs desktop. Sad to say, that my new HP :”All in One” scanner sucks in this aspect. You hit the scan button on the hardware and if your computer does anything at all, it produces a confirm dialog about what you want to do with the scan! -- “Just put the freakin thing on the desktop and then I’ll decide!”

 If nothing else the book gives you a great insight into the developer mind…..if you are fluent in a programming language that produces a UI you too are guilty of some of what he talks about in the book. Reading it is kind of like visiting a shrink that gets how we think!


 Excerpt from the book about Amazons Jeff Bezos “1-Click” interface:



The programmers went off and coded for a while, and then brought the finished work to Jeff for him to try. He found a book he wanted and pressed the 1-Click button, whereupon the program asked him a confirming question! The programmers had converted his one-click interface into a two-click interface. To the programmers, this was simply an additional click—what’s the big deal? To Jeff—and to every user—it is a 100% inflation rate!

« Newer PostsOlder Posts »

Powered by WordPress