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

March 31, 2005

Convert RSS Feed to SharePoint DWP File

Filed under: Uncategorized — @ 5:52 pm






http://x5.tsiokos.com/posts/2005/01/11/wss-rss/

March 29, 2005

In the Beginning was the Command Line by Neal Stephenson

Filed under: Books — @ 4:36 pm






Great book and a quick read. Talks about the operating system business of the past and the future. Still very relevant.


http://www.cryptonomicon.com/beginning.html

March 24, 2005

Setup XML for Arbortext Epic Editing and Direct Web Browser Display using CSS

Filed under: CSS,Software,XML — cangione @ 4:38 pm

There are times when working with XML documents that it would be nice
to be able to style the document directly. To do this with CSS here is
a recipe that works with Internet Explorer, Firefox and the Arbortext
Epic Editor.

  1. Add a css stylesheet reference in your XML document.
    <?xml-stylesheet
    href="docbook.css" type="text/css"?>

  2. Modify you XML document to hide the doctype declaration in a
    comment. This stops IE from looking for it but still allows Epic to
    find it. If you are only interested in making it work with Firefox you
    can skip this step.

    <?xml version="1.0"
    encoding="utf-8"?&gt;<br />
    &lt;?xml-stylesheet href="docbook.css" type="text/css"?&gt;<br />
    &lt;!-- Fragment document type declaration subset:<br />
    Arbortext, Inc., 1988-2004, v.4002<br />
    &lt;!DOCTYPE set PUBLIC "-//Arbortext//DTD DocBook XML V4.0//EN"<br />
     "axdocbook.dtd"&gt;<br />
    --&gt;

  3. Set writenonasciichar=char in Epic and save the XML
    document. This writes all of the character entities that may be present
    out as characters so the web browsers don’t complain about not being
    able to find the reference. This needs to either be set every time you
    edit the instance in Epic or via an ACL package.
  4. Create your CSS. A small sample docbook.css:
    book {<br />
            }<br />
    book&gt;title {<br />
      display:block;<br />
      font-size:3em;<br />
      color:inherit;<br />
      background:inherit;<br />
      font-weight:bold;<br />
    }<br />
              <br />
    legalnotice{<br />
            font-weight:bold;<br />
    }<br />
              <br />
    title {<br />
      display:block;<br />
      font-size:1.3em;<br />
      color:inherit;<br />
      background:inherit;<br />
      font-weight:bold;<br />
    }<br />
    para {<br />
            display:block;<br />
            padding: 20px;<br />
    }

CA

Suppress the br element using CSS

Filed under: CSS — cangione @ 1:00 am

I have run into issues with the <br> element especially with
programs that convert things to HTML. A quick way to suppress all of
the breaks is to add the following to your CSS stylesheet:

br { display: none;}

CA

March 23, 2005

Web Developer Tools for Firefox

Filed under: Software — cangione @ 10:40 pm

Another must have extension for Firefox. Adds a menu and a toolbar with
various web developer tools such as converting form POSTs to GETs,
hiding images, outlining block level elements, disabling styles and many more.

http://extensionroom.mozdev.org/more-info/webdeveloper

CA

Live HTTP Headers

Filed under: Software — cangione @ 10:01 pm

http://livehttpheaders.mozdev.org/

A must have extension for Firefox.

CA

Regular Expressions and XSLT

Filed under: XSLT — cangione @ 12:56 pm

I was working on a stylesheet today that begs for a regular expression.

The Problem:

    &lt;file path='connector\fig\82675-48040.svgz'/&gt;

I want to use parts of the path attribute but since the length varies I
can’t use the string() function. It appears there is no good way to do
it in XSLT 1.0

The XSLT 2.0 spec is a working draft at this point. It appears that in
2.0 something like this will be available:

    &lt;xsl:value-of select='matches([REG EXP])'/&gt;



CA

March 21, 2005

Darwin Information Typing Architecture (DITA)

Filed under: XML — cangione @ 11:23 pm




Introduction Article:
Summary:
  • Designed for Technical Documentation
  • Concept of a Topic as the main building block
  • Topic Reuse
  • Non-nesting structure of topics I highly agree with. Several advantages I see such as assured relevance when a topic is reused. Also helps with performance in certain situations.
  • Object-oriented concept
CA

March 18, 2005

Typography Issues Internationally

Filed under: XML — cangione @ 2:41 pm




For some more information about typography issues internationally, see http://www.oasis-open.org/cover/WD-XSLReq-19980511.html#AEN316 .

While it dates back to 1998 typography changes slowly so it is up to date.

March 16, 2005

Holes in Microsoft Office XML

Filed under: XML — @ 8:46 am







An interesting take on XML support in Office.


Older Posts »

Powered by WordPress